package com.sc.pojo;

import java.util.HashSet;
import java.util.Set;

public class Items {
    private Integer id;

    private String iname;

    private String ipic;

    private Float iarea;

    private String iaddress;

    private Integer iheat;

    private String idesc;

    private Set<House> set = new HashSet<House>();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public String getIpic() {
        return ipic;
    }

    public void setIpic(String ipic) {
        this.ipic = ipic;
    }

    public Float getIarea() {
        return iarea;
    }

    public void setIarea(Float iarea) {
        this.iarea = iarea;
    }

    public String getIaddress() {
        return iaddress;
    }

    public void setIaddress(String iaddress) {
        this.iaddress = iaddress;
    }

    public Integer getIheat() {
        return iheat;
    }

    public void setIheat(Integer iheat) {
        this.iheat = iheat;
    }

    public String getIdesc() {
        return idesc;
    }

    public void setIdesc(String idesc) {
        this.idesc = idesc;
    }

    public Set<House> getSet() {
        return set;
    }

    public void setSet(Set<House> set) {
        this.set = set;
    }

    @Override
    public String toString() {
        return "Items [id=" + id + ", iname=" + iname + ", ipic=" + ipic + ", iarea=" + iarea + ", iaddress=" + iaddress
                + ", iheat=" + iheat + ", idesc=" + idesc + ", set=" + set + "]";
    }

}